﻿package com.saint.video.events{
	
	import flash.events.Event;

	public class SimpleVideoEvent extends Event {
		
		public static const RESIZE:String = "SimpleVideoevent : resize";
		
		public var width:Number;
		public var height:Number;
				
		public function SimpleVideoEvent(type:String, width:Number = 0, height:Number = 0, bubbles:Boolean = false, cancelable:Boolean = false) 
		{	
			super(type, bubbles, cancelable);
			this.width  = width;
			this.height = height;
		}

		/**
		 * Returns a String containing all the properties of the current instance.
		 * @return A string representation of the current instance.
		 */
		public override function toString():String {
			return formatToString("SimpleVideoEvent", "type", "bubbles", "cancelable", "eventPhase");
		}
	}
}